#include "comLib\CameraEncoder.h"
#include <Windows.h>


CCamerEncoder::CCamerEncoder()
{
	m_pInputDevices = make_unique<CInputDevices>();
	m_pVideoEncoder = make_unique<CVideoEncoder>();

	auto myThread = [&]() {
		//m_pVideoDecoder->init(m_pInputDevices->getFormatContext());
	};

	m_Thread.emplace_back(myThread);
	m_Thread[0].detach();
}

void CCamerEncoder::run()
{
	//m_pVideoDecoder->setRun(false);
	/*while (!m_pVideoDecoder->bExit)
	{
		Sleep(10);
	}*/
}